﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="FL.Web.BackEnd.BasePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><% =SystemName %></title>
    <link href="/styles/matrix/css/bootstrap.min.css" rel="stylesheet"
        type="text/css" />
    <link rel="stylesheet" href="/styles/matrix/css/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="/styles/matrix/css/matrix-style.css" />
    <link rel="stylesheet" href="/styles/matrix/css/matrix-media.css" />
    <link href="/styles/matrix/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="/styles/matrix/mainpage.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        touch
        {
            display: block;width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch;
        }
    </style>
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar" style="background-color: #fff">
    <!-- Navbar ================================================== -->
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div style="float: left; margin-left:2px; width: 85px; padding: 2px; font-weight: bold" class="brand">
                <img alt="logo" src="/Images/logo.gif" width="80" height="80" />
            </div>
            <div class="container">
                <div class="nav-collapse collapse">
                    <ul class="nav" id="nav">
                        <li class="dropdown" id="profile-messages"><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user">
                            </i><span class="text">我的</span><b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="#" url="/Extend/Edit.aspx?selfHelp=true&functionid=bac8ba50-c29d-43a6-9045-2d0a6a58f22f"><i class="icon-user"></i>我的信息</a></li>
                                <li class="divider"></li>
                                <li><a href="#"  onclick="javascript:fnGoMyTask();"><i class="icon-check"></i>待办任务</a></li>
                                 <li><a href="#" onclick="javascript:setPassword();"><i class="icon-check"></i>修改密码</a></li>
                                <li class="divider"></li>
                                <li class=""><a title="" href="#" onclick="javascript:setDeskTop();"><i class="icon icon-cog"></i><span class="text">设置桌面</span></a></li>
                                <li class=""><a title="" href="main.aspx" target="_blank"><i class="icon icon-cog"></i><span class="text">使用旧版系统</span></a></li>
                                <li class=""><a title="" href="Loginout.aspx?returnURL=/Login.aspx"><i class="icon icon-share-alt"></i><span class="text">退出</span></a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="tabs">
        <ul id="tabs">
            <li class="tab-nav-action">主页</li>
        </ul>
    </div>
    <div id="tabs-body" class="tabs-body">
        <div class="pagecontent">
            <iframe scrolling="auto" frameborder="0" src="/ExtendPage/desktop/desktop.aspx" src2="/extendpage/desktop/main.aspx" style="width: 100%;
                height: 100%; margin: 0px;"></iframe>
        </div>
    </div>
    <div class="footer info">
        当前操作者：<%=User.name %><span id="log"></span></div>
      <div id="Div1" title="" style="width:750px;height:550px;display:none">
         <iframe src="" id="mRefresh" width="100%" height="100%" scrolling=yes frameborder=0></iframe>
    </div>
</body>
<script src="/Scripts/matrix/js/jquery.min.js"></script>
<script src="/Scripts/matrix/js/jquery.ui.custom.js" type="text/javascript"></script>
<script src="/Scripts/matrix/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/Scripts/common/jquery.data.js"></script>
<script src="/Scripts/common/jquery.menu.js"></script>
<script src="/Scripts/matrix/main.js"></script>
<script type="text/javascript">
    function fnLoginOut() {
        this.location.href = "NewLogin.aspx";
    }
    
    function fnClose() {
        close();
    }

    function Close() {
        close();
    }


    //设置桌面
    function setDeskTop() {
        addTabs('桌面设置', '/DeskTop/Form/DesktopConfigForUser.aspx');
    }
    
    var _EditDataURL = "";
    $("#main_data_dialog").dialog({ height: "300", width: "450" });
    function setPassword() {
        _EditDataURL = "/EditWidows/SysManager/UserPwdSetting.aspx?id="+_currentUserID;
        $("#btn_dialog_open").click();
    }

    function fnGoMyTask() {
        addTabs("待办任务", "/Extend/DataGrid.aspx?entity=V_HF_TaskInstanceView&functionID=17eae1ad-6f95-44bb-a231-3bfb8276ae81&order=taskStartTime desc");
    }

    function fnGoMyInfo() {
       //"/Extend/AutoLoadForm.aspx?selfHelp=true&entity=hrEmployee&id="+;
    }
</script>
</html>
